﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AStarFinder
{
    class Program
    {
        class CPrint
        {
            public CPrint(int t )
            {
                i = t;
            }
            ~CPrint()
            {
            }
            public void OutPut()
            {
                Console.WriteLine("{0}", i);
            }
            public int i = 0;
        }
        static CPrint GetPring()
        {
            return new CPrint(1);
        }
        static void Main(string[] args)
        {
            List<int> a = new List<int>();
            a.Add(1);
            a.Add(2);

            foreach (int b in a)
            {
                //b = 8;
            }

            foreach (int c in a)
            {
                Console.WriteLine("{0}", c);
            }

        }
    }
}
